package com.hunt.util;

public enum FinancialDataConstants {
    //------------------------------------------------------------------------------------------------------------------------------------------
    //数据池常量(用于查询股票列表)
    DATA_POOL_ALL_A(0,"001005010","全部A股"),
    DATA_POOL_SH_A(1,"001005020","上证A股"),
    DATA_POOL_SZ_A(2,"001005030","深证A股"),
    DATA_POOL_ALL_B(3,"001005060","全部B股"),
    DATA_POOL_SH_B(4,"001005070","上证B股"),
    DATA_POOL_SZ_B(5,"001005080","深证B股"),
    DATA_POOL_SH_AB(6,"001005100","上证AB股"),
    DATA_POOL_SZ_AB(7,"001005110","深证AB股"),
    //------------------------------------------------------------------------------------------------------------------------------------------
    //基础数据功能常量:指标和参数的拼接顺序必须是一模一样的(用于查询财务数据)
    THS_STOCK_CODE_STOCK(0,"ths_stock_code_stock","股票代码"),                                 //没参
    THS_THSCODE_STOCK(1,"ths_thscode_stock","股票代码(含后缀)"),                               //没参
    THS_STOCK_SHORT_NAME_STOCK(2,"ths_stock_short_name_stock","股票简称"),                     //没参
    THS_PROVINCE_STOCK(3,"ths_province_stock","省份"),                                         //没参
    THS_IPO_DATE_STOCK(4,"ths_ipo_date_stock","首发上市日期"),                                 //没参
    THS_THE_SW_INDUSTRY_STOCK(5,"ths_the_sw_industry_stock","所属申万行业"),                   //参数: 100,最新日期
    THS_TOTAL_SHARES_STOCK(6,"ths_total_shares_stock","总股本"),                               //参数: 最新日期
    THS_TOTAL_FLOAT_SHARES_STOCK(7,"ths_total_float_shares_stock","流通股合计"),               //参数: 最新日期
    THS_MV_BY_TOTAL_SHARES_STOCK(8,"ths_mv_by_total_shares_stock","总市值(总股本算)"),         //参数: 最新日期
    THS_CURRENT_MV_STOCK(9,"ths_current_mv_stock","流通市值"),                                 //参数: 最新日期
    THS_EPS_BASIC_STOCK(10,"ths_eps_basic_stock","每股收益EPS(基本)"),                         //参数: 104
    THS_ROE_DLT_PUBLISH_STOCK(11,"ths_roe_dlt_publish_stock","净资产收益率ROE(摊薄,公布值)"),  //参数: 104
    THS_ROE_WGT_PUBLISH_STOCK(12,"ths_roe_wgt_publish_stock","净资产收益率ROE(加权,公布值)"),  //参数: 104
    THS_PE_STOCK(13,"ths_pe_stock","PE静态市盈率"),                                            //参数: 最新日期 101
    THS_PE_MRQ_STOCK(14,"ths_pe_mrq_stock","PE滚动市盈率"),                                    //参数: 最新日期
    THS_PE_TTM_STOCK(15,"ths_pe_ttm_stock","PE市盈率TTM"),                                     //参数: 最新日期 100
    THS_PB_LATEST_STOCK(16,"ths_pb_latest_stock","PB市净率(最新)"),                            //参数: 最新日期 100

    
    THS_STOCK_CODE_STOCK_PARAM(0,"","股票代码"),                                       //没参
    THS_THSCODE_STOCK_PARAM(1,"","股票代码(含后缀)"),                                  //没参
    THS_STOCK_SHORT_NAME_STOCK_PARAM(2,"","股票简称"),                                 //没参
    THS_PROVINCE_STOCK_PARAM(3,"","省份"),                                             //没参
    THS_IPO_DATE_STOCK_PARAM(4,"","首发上市日期"),                                     //没参
    THS_THE_SW_INDUSTRY_STOCK_PARAM(5,"100,","所属申万行业"),                          //参数: 100,最新日期
    THS_TOTAL_SHARES_STOCK_PARAM(6,"","总股本"),                                       //参数: 最新日期
    THS_TOTAL_FLOAT_SHARES_STOCK_PARAM(7,"","流通股合计"),                             //参数: 最新日期
    THS_MV_BY_TOTAL_SHARES_STOCK_PARAM(8,"","总市值(总股本算)"),                       //参数: 最新日期
    THS_CURRENT_MV_STOCK_PARAM(9,"","流通市值"),                                       //参数: 最新日期
    THS_EPS_BASIC_STOCK_PARAM(10,"104","每股收益EPS(基本)"),                           //参数: 104
    THS_ROE_DLT_PUBLISH_STOCK_PARAM(11,"104","净资产收益率ROE(摊薄,公布值)"),          //参数: 104
    THS_ROE_WGT_PUBLISH_STOCK_PARAM(12,"104","净资产收益率ROE(加权,公布值)"),          //参数: 104
    THS_PE_STOCK_PARAM(13,",101","PE静态市盈率"),                                      //参数: 最新日期 101
    THS_PE_MRQ_STOCK_PARAM(14,"","PE滚动市盈率"),                                      //参数: 最新日期
    THS_PE_TTM_STOCK_PARAM(15,",100","PE市盈率TTM"),                                   //参数: 最新日期 100
    THS_PB_LATEST_STOCK_PARAM(16,",100","PB市净率(最新)"),                             //参数: 最新日期 100

    
    ;

    private int rank;

    private String param;

    private String description;


    FinancialDataConstants(int rank, String param, String description){
        this.rank = rank;
        this.param = param;
        this.description = description;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
